#ifndef __PYCONAPIEX_H__
#define __PYCONAPIEX_H__

#include "GLobals.h"

extern void PyIndepConsole();
extern void PyHideCursor(HANDLE buf=NULL);
//extern void PySetCursorInfo(DWORD dwSize=30,BOOL bVisible=true,HANDLE buf=NULL);
extern void PyPrintAt(const char* str,COORD c,HANDLE buf=NULL,int maxlen=-1);
extern void PyDrawStyle(SMALL_RECT sr,HANDLE buf=NULL,int style=STYLE_CORNER_SPLIT);
extern void PyClearBuffer(HANDLE buf=NULL);
extern void PyPrintInRect(const char *src,SMALL_RECT rect,HANDLE buf=NULL,BOOL lineWrap=false,int style=STYLE_CORNER_SPLIT,COORD offset=defOffset,SMALL_RECT shrink=defShrink);
extern void PyEditAttrInRect(SMALL_RECT sr, WORD attr,HANDLE buf=NULL, int editMode=EDITMODE_SET);
extern COORD PyGetConsoleCursorPos(HANDLE buf=NULL);
extern void PySetConsoleCursorPos(COORD c,HANDLE buf=NULL);
extern HANDLE PyGetStdScreenBuffer();
extern HANDLE PyNewScreenBuffer();
extern void PyUpdateScreenBuffer(HANDLE buf,HANDLE src);
extern void PyActiveScreenBuffer(HANDLE buf);

#endif // __PYCONAPIEX_H__
